// src/APP.vue

<template>
<div id="props-demo">
  <date-picker @change="showChange"></date-picker>
</div>
</template>

<script lang="ts">
import { defineComponent, reactive } from 'vue'
import DatePicker from './components/date-picker.vue'

export default defineComponent({
  name:"APP",
  components: {
    DatePicker
  },
  setup() {
      const showChange = (event) => console.log(event.target.value)

      return {
        showChange
      }
  }
})
</script>